package com.sc.nft.pool;


import com.sc.nft.entity.SysMember;

public class SysMemberPool {
    private static final InheritableThreadLocal<SysMember> memberPool = new InheritableThreadLocal<SysMember>();

    public static void clear(){
        memberPool.set(null);
        memberPool.remove();
    }

    public static SysMember getMember()   {
        return memberPool.get();
    }

    public static void setMember(SysMember member)  {
        memberPool.set(member);
    }
}
